const express = require('express')
const userRouter = require('./user')
const productRouter = require('./product')
const shoppingRouter = require('./shopping')
const orderRouter = require('./order')
const app = express()
app.listen(3000)

// 注册路由器模块
app.use('/user', userRouter)
app.use('/product', productRouter)
app.use('/shopping', shoppingRouter)
app.use('/order',orderRouter)